[IA64] increase xen side pmu constatns for motecito.
authorawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Tue, 28 Nov 2006 18:31:45 +0000 (11:31 -0700)
committerawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Tue, 28 Nov 2006 18:31:45 +0000 (11:31 -0700)
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
xen/include/asm-ia64/linux-xen/asm/processor.h

index 976c0960d699e81a2b7b68a2e70b1e01e5675068..fb753e0d16bae5995f07d519b32e3215eb512f17 100644 (file)
  * Limits for PMC and PMD are set to less than maximum architected values
  * but should be sufficient for a while
  */
+#ifdef XEN
+/*
+ * These are increased in linux-2.6.16. Montecito requires 35PMDs.
+ * This ifdef will become unnecessary when this header file is
+ * upgraded to 2.6.16 or newer.
+ */
+#define IA64_NUM_PMC_REGS      64
+#define IA64_NUM_PMD_REGS      64
+#else
 #define IA64_NUM_PMC_REGS      32
 #define IA64_NUM_PMD_REGS      32
+#endif
 
 #define DEFAULT_MAP_BASE       __IA64_UL_CONST(0x2000000000000000)
 #define DEFAULT_TASK_SIZE      __IA64_UL_CONST(0xa000000000000000)